package com.mangohouse.service.core.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mangohouse.dao.core.ISysUserDao;
import com.mangohouse.model.core.SysUser;
import com.mangohouse.service.ServiceException;
import com.mangohouse.service.core.ISysUserService;

/**
 * 
 * @TODO 用户业务层实现类
 * @author roye
 * @date May 17, 2013 2:50:25 PM
 * @version V1.0
 */
@Service
public class CSysUserServiceImpl implements ISysUserService {

	@Resource
	private ISysUserDao sysUserDao;


	/**
	 * 登录查询
	 */
	public SysUser getSysUser(String username, String pwd)
			throws ServiceException {
		return sysUserDao.getSysUser(username, pwd);
	}

	public int querySysUserCount(Map map) throws ServiceException {
		return 0;
	}

	public List<SysUser> querySysUserList(Map map) throws ServiceException {
		return null;
	}

}
